continuous function in metric space